home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / cat.man < prev    next >
Encoding:
Text File  |  1989-01-04  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CAT                       User Commands                       CAT
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      cat - catenate and print
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ccaatt [ --bbeennssttuuvv ] file ...
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _C_a_t reads each _f_i_l_e in sequence and displays it on the stan-
  16.      dard output.  Thus
  17.  
  18.                     cat file
  19.  
  20.      displays the file on the standard output, and
  21.  
  22.                     cat file1 file2 >file3
  23.  
  24.      concatenates the first two files and places the result on
  25.      the third.
  26.  
  27.      If no input file is given, or if the argument `-' is encoun-
  28.      tered, _c_a_t reads from the standard input file.  Output is
  29.      buffered in the block size recommended by _s_t_a_t(2) unless the
  30.      standard output is a terminal, when it is line buffered.
  31.      The --uu option makes the output completely unbuffered.
  32.  
  33.      The --nn option displays the output lines preceded by lines
  34.      numbers, numbered sequentially from 1.  Specifying the --bb
  35.      option with the --nn option omits the line numbers from blank
  36.      lines.
  37.  
  38.      The --ss option crushes out multiple adjacent empty lines so
  39.      that the output is displayed single spaced.
  40.  
  41.      The --vv option displays non-printing characters so that they
  42.      are visible.  Control characters print like ^X for control-
  43.      x; the delete character (octal 0177) prints as ^?.  Non-
  44.      ascii characters (with the high bit set) are printed as M-
  45.      (for meta) followed by the character of the low 7 bits.  A
  46.      --ee option may be given with the --vv option, which displays a
  47.      `$' character at the end of each line.  Specifying the --tt
  48.      option with the --vv option displays tab characters as ^I.
  49.  
  50. SSEEEE AALLSSOO
  51.      cp(1), ex(1), more(1), pr(1), tail(1)
  52.  
  53. BBUUGGSS
  54.      Beware of `cat a b >a' and `cat a b >b', which destroy the
  55.      input files before reading them.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0            September 29, 1987                       1
  64.  
  65.  
  66.  
  67.